{% extends "zinnia/entry_list.html" %}
{% load i18n %}
{% load url from future %}

{% block meta-description %}{% trans "Archives" %} {{ year }}{% endblock %}

{% block title %}{% trans "Archives" %} {{ year }}{% endblock %}

{% block body-class %}{{ block.super }} archive date year year-{{ year }}{% endblock %}

{% block content-title %}
<h1>{% trans "Archives" %} {{ year }}</h1>
{% endblock %}

{% block content-related %}
<h2>{% trans "Monthly archives" %}</h2>
<ul>
  {% for date in date_list %}
  <li>
    <a href="{% url 'zinnia_entry_archive_month' year date|date:"m" %}" rel="archives">{{ date|date:"YEAR_MONTH_FORMAT" }}</a>
  </li>
  {% endfor %}
</ul>
{% endblock %}
